package com.jspgou.core.dao;

import java.util.Date;

import com.jspgou.common.page.Pagination;
import com.jspgou.core.entity.Log;

public interface LogDao {
	public Pagination getPage(Integer category, Long siteId, Long adminId,
			String title, String ip, int pageNo, int pageSize);

	public Log findById(Long id);

	public Log save(Log bean);

	public Log deleteById(Long id);

	public int deleteBatch(Integer category, Long siteId, Date before);
}
